package cn.csc.module.product.controller.admin.tag.vo;

import cn.csc.framework.common.pojo.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigInteger;
import java.time.LocalDateTime;

import static cn.csc.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel("管理后台 - 商品标签分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SpuTagPageReqVO extends PageParam {

    @ApiModelProperty(value = "分组标题")
    private String title;

    @ApiModelProperty(value = "店铺Id")
    private BigInteger shopId;

    @ApiModelProperty(value = "状态(1为正常,-1为删除)")
    private Boolean status;

    @ApiModelProperty(value = "默认类型(0:商家自定义,1:系统默认)")
    private Boolean isDefault;

    @ApiModelProperty(value = "商品数量")
    private BigInteger prodCount;

    @ApiModelProperty(value = "列表样式(0:一列一个,1:一列两个,2:一列三个)")
    private Integer style;

    @ApiModelProperty(value = "排序")
    private Integer seq;

    @ApiModelProperty(value = "删除时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] deleteTime;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
